
.service-record-rent {
  background-color: #fff;
  padding: 10px;
  .patient-form {
    .ant-btn {
      margin-top: -10px;
    }
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    .title {
      font-size: 14px;
      font-weight: bold;
      color: #000;
    }

    .fwb {
      font-weight: bold;
    }
  }
  
  .info-body {
    padding-bottom: 20px;
    
    .row {
      margin-bottom: 15px;
    }
  }

  .ant-card-body {
    padding: 0;
  }
  
  .ant-form-item-label {
    label {
      font-size: 12px !important;
    }
  }
}

.rent-dialog {
  .ant-pro-table-search {
    padding-left: 0;
    padding-right: 0;
    padding-top: 8px;
    margin-bottom: 8px;

    .ant-form {
      .ant-row {
        .ant-form-item {
          .ant-form-item-label {
            flex: 0 0 auto !important;
            label {
              height: 24px;
            }
          }
          .ant-form-item-control {
            .ant-form-item-control-input {
              min-height: 24px;

              .ant-input-affix-wrapper {
                padding-top: 0;
                padding-bottom: 0;
                input {
                  height: 24px;
                }
              }

              .ant-btn {
                height: 24px;
              }
            }
          }
        }
      }
    }
  }

  .service-record-rent {
    .ant-form {
      .ant-row {
        .ant-col {
          .ant-form-item {
            margin-bottom: 0;
          }
        }
      }
    }

    .sett-info-descriptions {
      .ant-descriptions-item-container {
        align-items: center;
      }
    }
  }

  .patient-pro-table {
    .ant-pro-table-search {
      .ant-form {
        .ant-row {
          .ant-col {
            &:last-child {
              margin-left: 0;

              .ant-form-item-control-input-content {
                flex: none;
              }
            }
          }
        }
      }
    }
  }

  .item-pro-table {
    .ant-input-number-readonly {
      border: none;

      &:hover {
        border: none !important;
      }

      &.ant-input-number-focused {
        box-shadow: none;
      }

      .ant-input-number-input {
        text-align: right;
      }
    }
  }
}

.rent-order-modal {
  .print_yes {
    display: none;
  }
  .ant-form-item-label {
    label {
      font-size: 12px;
    }
  }
  .goods-list-table {
    .ant-card-body {
      padding: 0;
    }
  }
}

.rent-container {
  .ant-pro-grid-content {
    .ant-pro-grid-content-children {
      .ant-pro-page-container-children-content {
        .ant-pro-table {
          .ant-pro-table-search {
            .ant-form {
              .ant-row {
                .ant-col {
                  &:nth-child(1) {
                    .ant-form-item {
                      .ant-form-item-control {
                        padding-right: 3px !important;
                      }
                      .ant-space {
                        display: flex;
                        justify-content: space-between;

                        .ant-space-item {
                          flex: 2;

                          &:nth-child(2) {
                            flex: 0;
                          }
                        }
                      }
                    }
                  }
                  &:nth-child(6) {
                    padding-right: 12px !important;
                    .ant-form-item {
                      .ant-form-item-control {
                        padding-right: 0 !important;
                      }
                      .ant-space {
                        display: flex;
                        justify-content: space-between;
                      }
                    }
                  }

                  &.ant-col-offset-16 {
                    .ant-space {
                      gap: 0 !important;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

.rent-detail-container {
  .goods-pro-table,
  .settle-pro-table {
    .ant-card {
      .ant-card-body {
        padding: 0;
      }
    }
  }
}

@media print {
  mso-header: none;
  mso-footer: none;
  .print_yes {
    display: block !important;
  }
  .print_title {
    font-size: 22px;
    text-align: center;
  }
  .ant-modal-body {
    overflow: hidden !important;
  }
}